import 'package:flutter/material.dart';


class ProgressDialog{
  BuildContext context;
  ProgressDialog({this.context});

  void show({bool dismissible = false}) {
    showDialog(context: context, barrierDismissible: dismissible, builder: (context) {
      return Center(
          child: Container(
              width: 100.0,
              height: 100.0,
              child: CircularProgressIndicator(

              )
          )
      );
    });
  }

  void close(){
    Navigator.of(context).pop();
  }
}